Optimal. Leaf size=364 \[ \frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{b^2 \tan ^{-1}\left (1-\sqrt{2} \sqrt{\tan (e+f x)}\right ) \sqrt{b \tan ^3(e+f x)}}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \tan ^{-1}\left (\sqrt{2} \sqrt{\tan (e+f x)}+1\right ) \sqrt{b \tan ^3(e+f x)}}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{b^2 \sqrt{b \tan ^3(e+f x)} \log \left (\tan (e+f x)-\sqrt{2} \sqrt{\tan (e+f x)}+1\right )}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \sqrt{b \tan ^3(e+f x)} \log \left (\tan (e+f x)+\sqrt{2} \sqrt{\tan (e+f x)}+1\right )}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.145777, antiderivative size = 364, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 10, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.714, Rules used = {3658, 3473, 3476, 329, 211, 1165, 628, 1162, 617, 204} \[ \frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{b^2 \tan ^{-1}\left (1-\sqrt{2} \sqrt{\tan (e+f x)}\right ) \sqrt{b \tan ^3(e+f x)}}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \tan ^{-1}\left (\sqrt{2} \sqrt{\tan (e+f x)}+1\right ) \sqrt{b \tan ^3(e+f x)}}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{b^2 \sqrt{b \tan ^3(e+f x)} \log \left (\tan (e+f x)-\sqrt{2} \sqrt{\tan (e+f x)}+1\right )}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \sqrt{b \tan ^3(e+f x)} \log \left (\tan (e+f x)+\sqrt{2} \sqrt{\tan (e+f x)}+1\right )}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3658
Rule 3473
Rule 3476
Rule 329
Rule 211
Rule 1165
Rule 628
Rule 1162
Rule 617
Rule 204
Rubi steps
\begin{align*} \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx &=\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \int \tan ^{\frac{15}{2}}(e+f x) \, dx}{\tan ^{\frac{3}{2}}(e+f x)}\\ &=\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}-\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \int \tan ^{\frac{11}{2}}(e+f x) \, dx}{\tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \int \tan ^{\frac{7}{2}}(e+f x) \, dx}{\tan ^{\frac{3}{2}}(e+f x)}\\ &=\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}-\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \int \tan ^{\frac{3}{2}}(e+f x) \, dx}{\tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \int \frac{1}{\sqrt{\tan (e+f x)}} \, dx}{\tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{x} \left (1+x^2\right )} \, dx,x,\tan (e+f x)\right )}{f \tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (2 b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{1+x^4} \, dx,x,\sqrt{\tan (e+f x)}\right )}{f \tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1-x^2}{1+x^4} \, dx,x,\sqrt{\tan (e+f x)}\right )}{f \tan ^{\frac{3}{2}}(e+f x)}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1+x^2}{1+x^4} \, dx,x,\sqrt{\tan (e+f x)}\right )}{f \tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{1-\sqrt{2} x+x^2} \, dx,x,\sqrt{\tan (e+f x)}\right )}{2 f \tan ^{\frac{3}{2}}(e+f x)}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{1+\sqrt{2} x+x^2} \, dx,x,\sqrt{\tan (e+f x)}\right )}{2 f \tan ^{\frac{3}{2}}(e+f x)}-\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{2}+2 x}{-1-\sqrt{2} x-x^2} \, dx,x,\sqrt{\tan (e+f x)}\right )}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{2}-2 x}{-1+\sqrt{2} x-x^2} \, dx,x,\sqrt{\tan (e+f x)}\right )}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}-\frac{b^2 \log \left (1-\sqrt{2} \sqrt{\tan (e+f x)}+\tan (e+f x)\right ) \sqrt{b \tan ^3(e+f x)}}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \log \left (1+\sqrt{2} \sqrt{\tan (e+f x)}+\tan (e+f x)\right ) \sqrt{b \tan ^3(e+f x)}}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}+\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\sqrt{2} \sqrt{\tan (e+f x)}\right )}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{\left (b^2 \sqrt{b \tan ^3(e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\sqrt{2} \sqrt{\tan (e+f x)}\right )}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}\\ &=-\frac{2 b^2 \cot (e+f x) \sqrt{b \tan ^3(e+f x)}}{f}-\frac{b^2 \tan ^{-1}\left (1-\sqrt{2} \sqrt{\tan (e+f x)}\right ) \sqrt{b \tan ^3(e+f x)}}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \tan ^{-1}\left (1+\sqrt{2} \sqrt{\tan (e+f x)}\right ) \sqrt{b \tan ^3(e+f x)}}{\sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}-\frac{b^2 \log \left (1-\sqrt{2} \sqrt{\tan (e+f x)}+\tan (e+f x)\right ) \sqrt{b \tan ^3(e+f x)}}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{b^2 \log \left (1+\sqrt{2} \sqrt{\tan (e+f x)}+\tan (e+f x)\right ) \sqrt{b \tan ^3(e+f x)}}{2 \sqrt{2} f \tan ^{\frac{3}{2}}(e+f x)}+\frac{2 b^2 \tan (e+f x) \sqrt{b \tan ^3(e+f x)}}{5 f}-\frac{2 b^2 \tan ^3(e+f x) \sqrt{b \tan ^3(e+f x)}}{9 f}+\frac{2 b^2 \tan ^5(e+f x) \sqrt{b \tan ^3(e+f x)}}{13 f}\\ \end{align*}
Mathematica [A] time = 0.829392, size = 199, normalized size = 0.55 \[ \frac{b \left (b \tan ^3(e+f x)\right )^{3/2} \left (360 \tan ^{\frac{13}{2}}(e+f x)-520 \tan ^{\frac{9}{2}}(e+f x)+936 \tan ^{\frac{5}{2}}(e+f x)-1170 \sqrt{2} \tan ^{-1}\left (1-\sqrt{2} \sqrt{\tan (e+f x)}\right )+1170 \sqrt{2} \tan ^{-1}\left (\sqrt{2} \sqrt{\tan (e+f x)}+1\right )-4680 \sqrt{\tan (e+f x)}-585 \sqrt{2} \log \left (\tan (e+f x)-\sqrt{2} \sqrt{\tan (e+f x)}+1\right )+585 \sqrt{2} \log \left (\tan (e+f x)+\sqrt{2} \sqrt{\tan (e+f x)}+1\right )\right )}{2340 f \tan ^{\frac{9}{2}}(e+f x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.044, size = 266, normalized size = 0.7 \begin{align*}{\frac{1}{2340\,f \left ( \tan \left ( fx+e \right ) \right ) ^{5}{b}^{4}} \left ( b \left ( \tan \left ( fx+e \right ) \right ) ^{3} \right ) ^{{\frac{5}{2}}} \left ( 360\, \left ( b\tan \left ( fx+e \right ) \right ) ^{13/2}-520\,{b}^{2} \left ( b\tan \left ( fx+e \right ) \right ) ^{9/2}+585\,{b}^{6}\sqrt [4]{{b}^{2}}\sqrt{2}\ln \left ( -{\frac{b\tan \left ( fx+e \right ) +\sqrt [4]{{b}^{2}}\sqrt{b\tan \left ( fx+e \right ) }\sqrt{2}+\sqrt{{b}^{2}}}{\sqrt [4]{{b}^{2}}\sqrt{b\tan \left ( fx+e \right ) }\sqrt{2}-b\tan \left ( fx+e \right ) -\sqrt{{b}^{2}}}} \right ) +1170\,{b}^{6}\sqrt [4]{{b}^{2}}\sqrt{2}\arctan \left ({\frac{\sqrt{2}\sqrt{b\tan \left ( fx+e \right ) }+\sqrt [4]{{b}^{2}}}{\sqrt [4]{{b}^{2}}}} \right ) +1170\,{b}^{6}\sqrt [4]{{b}^{2}}\sqrt{2}\arctan \left ({\frac{\sqrt{2}\sqrt{b\tan \left ( fx+e \right ) }-\sqrt [4]{{b}^{2}}}{\sqrt [4]{{b}^{2}}}} \right ) +936\,{b}^{4} \left ( b\tan \left ( fx+e \right ) \right ) ^{5/2}-4680\,{b}^{6}\sqrt{b\tan \left ( fx+e \right ) } \right ) \left ( b\tan \left ( fx+e \right ) \right ) ^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.67078, size = 240, normalized size = 0.66 \begin{align*} \frac{360 \, b^{\frac{5}{2}} \tan \left (f x + e\right )^{\frac{13}{2}} - 520 \, b^{\frac{5}{2}} \tan \left (f x + e\right )^{\frac{9}{2}} + 936 \, b^{\frac{5}{2}} \tan \left (f x + e\right )^{\frac{5}{2}} + 585 \,{\left (2 \, \sqrt{2} \sqrt{b} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} + 2 \, \sqrt{\tan \left (f x + e\right )}\right )}\right ) + 2 \, \sqrt{2} \sqrt{b} \arctan \left (-\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} - 2 \, \sqrt{\tan \left (f x + e\right )}\right )}\right ) + \sqrt{2} \sqrt{b} \log \left (\sqrt{2} \sqrt{\tan \left (f x + e\right )} + \tan \left (f x + e\right ) + 1\right ) - \sqrt{2} \sqrt{b} \log \left (-\sqrt{2} \sqrt{\tan \left (f x + e\right )} + \tan \left (f x + e\right ) + 1\right )\right )} b^{2} - 4680 \, b^{\frac{5}{2}} \sqrt{\tan \left (f x + e\right )}}{2340 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \tan ^{3}{\left (e + f x \right )}\right )^{\frac{5}{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.73344, size = 412, normalized size = 1.13 \begin{align*} \frac{1}{2340} \,{\left (\frac{1170 \, \sqrt{2} b \sqrt{{\left | b \right |}} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \sqrt{{\left | b \right |}} + 2 \, \sqrt{b \tan \left (f x + e\right )}\right )}}{2 \, \sqrt{{\left | b \right |}}}\right )}{f} + \frac{1170 \, \sqrt{2} b \sqrt{{\left | b \right |}} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \sqrt{{\left | b \right |}} - 2 \, \sqrt{b \tan \left (f x + e\right )}\right )}}{2 \, \sqrt{{\left | b \right |}}}\right )}{f} + \frac{585 \, \sqrt{2} b \sqrt{{\left | b \right |}} \log \left (b \tan \left (f x + e\right ) + \sqrt{2} \sqrt{b \tan \left (f x + e\right )} \sqrt{{\left | b \right |}} +{\left | b \right |}\right )}{f} - \frac{585 \, \sqrt{2} b \sqrt{{\left | b \right |}} \log \left (b \tan \left (f x + e\right ) - \sqrt{2} \sqrt{b \tan \left (f x + e\right )} \sqrt{{\left | b \right |}} +{\left | b \right |}\right )}{f} + \frac{8 \,{\left (45 \, \sqrt{b \tan \left (f x + e\right )} b^{66} f^{12} \tan \left (f x + e\right )^{6} - 65 \, \sqrt{b \tan \left (f x + e\right )} b^{66} f^{12} \tan \left (f x + e\right )^{4} + 117 \, \sqrt{b \tan \left (f x + e\right )} b^{66} f^{12} \tan \left (f x + e\right )^{2} - 585 \, \sqrt{b \tan \left (f x + e\right )} b^{66} f^{12}\right )}}{b^{65} f^{13}}\right )} b \mathrm{sgn}\left (\tan \left (f x + e\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]